<?php
declare (strict_types=1);

namespace App\Model;

/**
 * 权限模型
 */
class PermissionModel extends Model
{
    /**
     * The table associated with the model.
     *
     * @var string
     */
    protected $table = 'permissions';

    /**
     * 允许被批量赋值的属性
     *
     * @var array
     */
    protected $fillable = [
    	'id',
        'pid',
        'type',
        'authority',
        'name',
        'request_uri',
        'request_method',
        'menu_icon',
        'sort',
        'created_at',
        'updated_at',
        'deleted_at',
    ];

    /**
     * 数据格式化配置
     *
     * @var array
     */
    protected $casts = [];
}